/***********************************************
 * Title:       ITeacherDao.java
 * Description: ITeacherDao.java
 * Author:      Niyuzhe
 * Create Date: 2009-12-21
 * CopyRight:   CopyRight(c)@2009
 * Company:     TJUSCS
 * Version:     1.0
 ***********************************************
 */
package edu.tju.teacherManagement;

import java.sql.SQLException;
import java.util.List;

/**
 * @author Niyuzhe
 *
 */
public interface ITeacherDao
{
        public Teacher getTeacherById( long id ) throws SQLException;
        public List<Teacher> getTeacherAnd( Teacher teacher ) throws SQLException;
        public List<Teacher> getTeacherOr( Teacher teacher ) throws SQLException;
        public long insertTeacher( Teacher teacher ) throws SQLException;
        public long updateTeacher( Teacher teacher ) throws SQLException;
        public void deleteTeacher( long id ) throws SQLException;
}
